package com.gitee.wsl.markdown.html.tag

import com.gitee.wsl.markdown.html.HtmlTag
import com.gitee.wsl.markdown.html.MarkwonHtmlRenderer
import com.gitee.wsl.markdown.html.TagHandler
import com.gitee.wsl.markdown.model.MarkwonVisitor

/*

class BlockquoteHandler : TagHandler() {
    override fun handle(
        visitor: MarkwonVisitor,
        renderer: MarkwonHtmlRenderer,
        tag: HtmlTag
    ) {
        if (tag.isBlock) {
            visitChildren(visitor, renderer, tag.asBlock)
        }
        val configuration = visitor.configuration()

         configuration.spansFactory(BlockQuote::class.java)?.let{
             SpannableBuilder.setSpans(
                 visitor.builder(),
                 it.getSpans(configuration, visitor.renderProps()),
                 tag.start(),
                 tag.end()
             )
        }
    }

    override fun supportedTags(): List<String> {
        return listOf("blockquote")
    }
}*/
